﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using LAVAA.DAL;

namespace LAVAA.BL.Business
{
    /// <summary>
    /// Ansvarig för generell businesslogik, oberoende av klient
    /// </summary>
    public class ActivityManager
    {
        private UnitOfWork _uow;
        public ActivityManager(UnitOfWork uow)
        {
            this._uow = uow;
        }

        public void AddActivity(Activity activity)
        {
            _uow.ActivityRepository.Add(activity);
        }

        public void UpdateActivity(Activity activity)
        {
            _uow.ActivityRepository.Update(activity);
        }
    }
}
